LEADTOOLS Medical (Leadtools.Medical.Workstation assembly)
LEAD Technologies, Inc

Contains<TService>() Method







The type of the service to check for.
Checks whether a service of a given type exists in the collection.
Syntax
public bool Contains<TService>()
'Declaration
 
Public Function Contains(Of TService)() As Boolean
'Usage
 
Dim instance As ServiceCollection
Dim value As Boolean
 
value = instance.Contains(Of TService)()
public bool Contains<TService>()
 function Leadtools.Medical.Workstation.DataTypes.ServiceCollection.Contains``1()()
public: bool Contains<TService>(); 
public:
bool Containsgeneric<typename TService>
(); 

Type Parameters

TService
The type of the service to check for.

Return Value

true if a service object exists with the provided type; otherwise, it is false.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ServiceCollection Class
ServiceCollection Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.